import request from '@/utils/request'

// 注册接口
export const register = (data) => request.post('/h5/user/register', data)
// 登录接口
export const login = (data) => request.post('/h5/user/login', data)
/**
     * 3. 获取用户信息
     */
export const getUserInfo = () => request.get('/h5/user/currentUser')
